package serviceImp;

import java.util.List;

import org.springframework.context.ApplicationContext;

import util.FactoryContext;
import hibernate_model.CommentDAO;
import hibernate_model.PhotoDAO;
import m_interface.GetResStr;
import net.sf.json.JSONObject;

public class NoticeImp implements GetResStr{
	private JSONObject jsonReq;
	private JSONObject jsonRes;
	private int curUserId;
	public NoticeImp(){
		curUserId = jsonReq.getInt("curUserId");
	}
	@Override
	public void excute() {
		ApplicationContext ac = FactoryContext.readCof();
		PhotoDAO photoDAO = (PhotoDAO)ac.getBean("PhotoDAO");
		CommentDAO commentDAO = (CommentDAO)ac.getBean("CommentDAO");
		
	}
	@Override
	public String ResStr() {
		// TODO Auto-generated method stub
		return null;
	}

}
